package com.augurit.gzcgwsp.smartformCsdlwj.service;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

import org.apache.poi.hssf.usermodel.HSSFSheet;

import com.augurit.gzcgwsp.csshlj.entity.ShljProject;
import com.augurit.gzcgwsp.csshlj.form.ShljqsBaForm;
import com.augurit.gzcgwsp.smartformCsdlwj.web.form.YwHwXminfoForm;
/*
 * 陆域生活垃圾清扫车辆情况
 */
public interface IYwHwXminfoService {

	YwHwXminfoForm getForm(Long Id);

	/**
	 * 根据qyId查询出所有的集合
	 * @param qyId
	 * @return
	 */
	List<YwHwXminfoForm> getListByQyId(Long qyId);
	/**
	 * 根据ywId查询出所有的集合
	 * @param ywid
	 * @param templateCode
	 * @return
	 */
	List<YwHwXminfoForm> getListByYwId(Long ywid, String templateCode);

	void SaveOrUpdate(YwHwXminfoForm form);
	
	/**
	 * 导入项目基本信息
	 * @return
	 */
	public Long parseYwHwXminfo(HSSFSheet hssfsheet,Long qybh,Long ywid, String templateCode);
	/**
	 * 导入项目所有信息
	 * @return
	 */
	public void importExcel(InputStream inputStream,Long qybh,Long ywid, String templateCode);
	/**
	 * 获取副本需要的项目信息
	 * @return
	 */
	public List getFbXminfo(Long ywid, String templateCode);
	
	public void saveByMap(Map map,List<ShljProject> list);

	/**
	 * 获取副本的所有项目
	 * @param ysid
	 * @return
	 */
	List getProjects(Long ysid,int startnum,int endnum,Long baid);

	ShljProject getProjectById(String id);

	/**
	 * 保存项目
	 * @param list
	 */
	void saveProject(List<ShljProject> list);

	ShljProject getProjectByPrintInfo(ShljqsBaForm baform,int row,int col);
}
